﻿using CodeSaude.Domain.Entities;
using CodeSaude.Domain.Interfaces.Repository;
using CodeSaude.Domain.Interfaces.Service;

namespace CodeSaude.Domain.Services
{
    public class ExameService : BaseService<Exame>, IExameService
    {

        private readonly IExameRepository _exameRepository;

        public ExameService(IExameRepository exameRepository)
            : base(exameRepository)
        {
            _exameRepository = exameRepository;
        }

        public void SaveChanges()
        {
            _exameRepository.SaveChanges();
        }
    }
}
